﻿using UnityEngine;
using UnityEngine.UI;
namespace UGUIMan
{
    public class Mappiece : MonoBehaviour
    {
        public Vector2 lb, lt, rb, rt;
        public Rect rect;
        private void Awake()
        {
            rect = GetComponent<RectTransform>().rect;
            lb = GetComponent<RectTransform>().position;
            GetComponent<Image>().color = Random.ColorHSV();
        }
        public bool Hit(Vector2 point)
        {
            //if(point.x>)
            return false;
        }
    }
}